<?php
$this->headAssets = [
    '<link href="'. RES .'/pc/css/passport.css" rel="stylesheet" />'
];
?>
<div class="passport-form-wrapper">
    <h1 class="passport-form-title">登录</h1>
    <section class="passport-item">
        <div>
            <input type="text" id="account" class="x-input x-input-large passport-item-input" maxlength="15" placeholder="昵称">
        </div>
        <div class="passport-item-tip passport-item-tip-right" id="accounttip"></div>
    </section>
    <section class="passport-item">
        <div>
            <input type="password" id="password" class="x-input x-input-large passport-item-input" maxlength="15" placeholder="密码">
        </div>
        <div class="passport-item-tip passport-item-tip-right" id="passwordtip"></div>
    </section>
    <section class="passport-item">
        <img onclick="this.src=this.src" class="passport-item-verifycode" src="<?php echo \app\libs\Util::U('api/verifycode/get'); ?>" />
        <div>
            <input type="text" id="verifycode" class="x-input x-input-large passport-item-input" maxlength="6" placeholder="验证码">
        </div>
        <div class="passport-item-tip passport-item-tip-right" id="verifycodetip"></div>
    </section>
    <section class="passport-item">
        <div><button type="button" id="btn" class="x-btn x-btn-large passport-item-btn">登录</button></div>
    </section>
    <section class="passport-item">
        <div class="passport-item-tip">
            <a href="/forget">忘记密码</a>
            <a class="x-pullright" href="/register">没有账号，去注册</a>
        </div>
    </section>
</div>

<script src="<?php echo RES; ?>/pc/js/login.js"></script>
